from __future__ import absolute_import
#import os
import logging
#import subprocess as sp

from forest.api import Tool
from forest.registry import register_tool
from forest.tools.system.execute import run

logger = logging.getLogger('forest.tools.system.parted')

@register_tool('parted.probe')
def probe():
    Tool.SIGNAL_TOOL_START(probe, level=logging.DEBUG, message='Parted: probing...')
    run(['partprobe'])
